﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace UserPower.ViewModels
{
    public class LoginData
    {
        
        [Display(Name = "用户名"), Required(ErrorMessage = "不得为空")]
        public string UserName { get; set; }

        [Display(Name = "密码"), Required(ErrorMessage = "不得为空")]
        public string Password { get; set; }
    }
}